import request from "@/common/request";

/**
 * 图片上传
 * */
export const uploadImage = (params: any): Promise<any> => {
    return request<any>({
        url: "/ai-server/file/uploadImg",
        method: "post",
        headers: {"Content-Type": "multipart/form-data"},
        data: params
    });
}